<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;


/**
 * Class User
 * @package App\Models
 *
 * @property integer $id
 * @property integer $user_id
 * @property  $user_name
 */
class Vote extends Model
{
    public $timestamps = true;

    const IS_DELETE =1;
    const IS_DELETE_NO =2;
    use Notifiable;
    protected $table = 'ty_vote';
    protected $primaryKey = 'vote_id';
    protected $fillable = ['hospital_id', 'member_id', 'is_delete'];

    protected $dates = ['created_at'];
    // Rest omitted for brevity

}
